package cn.wolfcode.trip.base.util;

import lombok.Getter;

@Getter
public class JsonResult {
    private boolean success = true;
    private String errorMsg;
    private Object data;

    public void mark(String errorMsg) {
        success = false;
        this.errorMsg = errorMsg;
    }

    public void setData(Object data) {
        this.data = data;
    }

}
